/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.goodsstore.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.goodsstore.entity.GoodsStore;

import java.util.List;

/**
 * 商城商品MAPPER接口
 * @author lxj
 * @version 2020-11-09
 */
@MyBatisMapper
public interface GoodsStoreMapper extends BaseMapper<GoodsStore> {

    /**
     * 查询上架中的商品
     * @param goodsStore
     * @return
     */
    List<GoodsStore> findNormalList(GoodsStore goodsStore);

    List<GoodsStore> findSeasonalList();

    List<GoodsStore> findListForRep(GoodsStore goodsStore);
}